<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
    <title>LuaApp项目接口文档</title>
    <link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>

<div id="container">

<div id="product">
	<div id="product_logo"></div>
	<div id="product_name"><big><b></b></big></div>
	<div id="product_description"></div>
</div> <!-- id="product" -->


<div id="main">


<!-- Menu -->

<div id="navigation">
<br/>
<h1>LuaApp</h1>

<ul>
  <li><a href="../index.html">Index</a></li>
</ul>

<h2>Contents</h2>
<ul>
<li><a href="#Tables">Tables</a></li>
</ul>


<h2>Modules</h2>
<ul class="nowrap">
  <li><a href="../modules/Animation.html">Animation</a></li>
  <li><a href="../modules/class.html">class</a></li>
  <li><strong>lua.constants</strong></li>
  <li><a href="../modules/crossapp.html">crossapp</a></li>
  <li><a href="../modules/mobdebug.html">mobdebug</a></li>
</ul>
<h2>Classes</h2>
<ul class="nowrap">
  <li><a href="../classes/ActivityIndicatorView.html">ActivityIndicatorView</a></li>
  <li><a href="../classes/AlertView.html">AlertView</a></li>
  <li><a href="../classes/Application.html">Application</a></li>
  <li><a href="../classes/AudioEngine.html">AudioEngine</a></li>
  <li><a href="../classes/Button.html">Button</a></li>
  <li><a href="../classes/CaptureView.html">CaptureView</a></li>
  <li><a href="../classes/CheckBox.html">CheckBox</a></li>
  <li><a href="../classes/ClippingView.html">ClippingView</a></li>
  <li><a href="../classes/Control.html">Control</a></li>
  <li><a href="../classes/DatePickerView.html">DatePickerView</a></li>
  <li><a href="../classes/Device.html">Device</a></li>
  <li><a href="../classes/DownloadManager.html">DownloadManager</a></li>
  <li><a href="../classes/DrawView.html">DrawView</a></li>
  <li><a href="../classes/DrawerController.html">DrawerController</a></li>
  <li><a href="../classes/Label.html">Label</a></li>
  <li><a href="../classes/ListView.html">ListView</a></li>
  <li><a href="../classes/ListViewCell.html">ListViewCell</a></li>
  <li><a href="../classes/NavController.html">NavController</a></li>
  <li><a href="../classes/Progress.html">Progress</a></li>
  <li><a href="../classes/Slider.html">Slider</a></li>
  <li><a href="../classes/Stepper.html">Stepper</a></li>
  <li><a href="../classes/Switch.html">Switch</a></li>
  <li><a href="../classes/TabBarController.html">TabBarController</a></li>
  <li><a href="../classes/TextField.html">TextField</a></li>
  <li><a href="../classes/TextView.html">TextView</a></li>
  <li><a href="../classes/UILoader.html">UILoader</a></li>
  <li><a href="../classes/View.html">View</a></li>
  <li><a href="../classes/ViewController.html">ViewController</a></li>
  <li><a href="../classes/WebView.html">WebView</a></li>
  <li><a href="../classes/Window.html">Window</a></li>
</ul>
<h2>Topics</h2>
<ul class="">
  <li><a href="../topics/readme.md.html">readme</a></li>
  <li><a href="../topics/layout.md.html">layout</a></li>
</ul>

</div>

<div id="content">

<h1>Module <code>lua.constants</code></h1>
<p>crossapp 中的常量的定义</p>
<p>

</p>


<h2><a href="#Tables">Tables</a></h2>
<table class="function_list">
	<tr>
	<td class="name" nowrap><a href="#LanguageType">LanguageType</a></td>
	<td class="summary">语言类型</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#EventType">EventType</a></td>
	<td class="summary">事件类型</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#ControlState">ControlState</a></td>
	<td class="summary">控件状态</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#ControlEvent">ControlEvent</a></td>
	<td class="summary">控件事件类型</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#ImageViewScaleType">ImageViewScaleType</a></td>
	<td class="summary">图片拉伸类型</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#ImageFormat">ImageFormat</a></td>
	<td class="summary">图片格式</td>
	</tr>
</table>

<br/>
<br/>


    <h2 class="section-header "><a name="Tables"></a>Tables</h2>

    <dl class="function">
    <dt>
    <a name = "LanguageType"></a>
    <strong>LanguageType</strong>
    </dt>
    <dd>
    语言类型


    <h3>Fields:</h3>
    <ul>
        <li><span class="parameter">English</span>



        </li>
        <li><span class="parameter">Chinese</span>



        </li>
        <li><span class="parameter">French</span>



        </li>
        <li><span class="parameter">Italian</span>



        </li>
        <li><span class="parameter">German</span>



        </li>
        <li><span class="parameter">Spanish</span>



        </li>
        <li><span class="parameter">Dutch</span>



        </li>
        <li><span class="parameter">Russian</span>



        </li>
        <li><span class="parameter">Korean</span>



        </li>
        <li><span class="parameter">Japanese</span>



        </li>
        <li><span class="parameter">Hungarian</span>



        </li>
        <li><span class="parameter">Portuguese</span>



        </li>
        <li><span class="parameter">Arabic</span>



        </li>
    </ul>





</dd>
    <dt>
    <a name = "EventType"></a>
    <strong>EventType</strong>
    </dt>
    <dd>
    事件类型


    <h3>Fields:</h3>
    <ul>
        <li><span class="parameter">keyboardEvent</span>



        </li>
        <li><span class="parameter">leftMouseEvent</span>



        </li>
        <li><span class="parameter">rightMouseEvent</span>



        </li>
        <li><span class="parameter">middleMouseEvent</span>



        </li>
        <li><span class="parameter">movedMouseEvent</span>



        </li>
        <li><span class="parameter">iosEvent</span>



        </li>
        <li><span class="parameter">androidEvent</span>



        </li>
    </ul>





</dd>
    <dt>
    <a name = "ControlState"></a>
    <strong>ControlState</strong>
    </dt>
    <dd>
    控件状态


    <h3>Fields:</h3>
    <ul>
        <li><span class="parameter">Normal</span>



        </li>
        <li><span class="parameter">Highlighted</span>



        </li>
        <li><span class="parameter">Disabled</span>



        </li>
        <li><span class="parameter">Selected</span>



        </li>
        <li><span class="parameter">StateAll</span>



        </li>
    </ul>





</dd>
    <dt>
    <a name = "ControlEvent"></a>
    <strong>ControlEvent</strong>
    </dt>
    <dd>
    控件事件类型


    <h3>Fields:</h3>
    <ul>
        <li><span class="parameter">TouchDown</span>



        </li>
        <li><span class="parameter">TouchDownRepeat</span>



        </li>
        <li><span class="parameter">TouchMoved</span>



        </li>
        <li><span class="parameter">TouchMovedOutSide</span>



        </li>
        <li><span class="parameter">TouchUpInSide</span>



        </li>
        <li><span class="parameter">TouchUpOutSide</span>



        </li>
        <li><span class="parameter">TouchValueChanged</span>



        </li>
        <li><span class="parameter">TouchLongPress</span>



        </li>
        <li><span class="parameter">TouchCancelled</span>



        </li>
    </ul>





</dd>
    <dt>
    <a name = "ImageViewScaleType"></a>
    <strong>ImageViewScaleType</strong>
    </dt>
    <dd>
    图片拉伸类型


    <h3>Fields:</h3>
    <ul>
        <li><span class="parameter">fitImageXY</span>
        塞满
        </li>
        <li><span class="parameter">fitImageCrop</span>
        塞满裁剪，不变形, 居中
        </li>
        <li><span class="parameter">fitImageInside</span>
        显示全部，不变形, 居中
        </li>
        <li><span class="parameter">fitViewByHorizontal</span>
        显示全部，不变形，横向适应图片
        </li>
        <li><span class="parameter">fitViewByVertical</span>
        显示全部，不变形，纵横适应图片
        </li>
    </ul>





</dd>
    <dt>
    <a name = "ImageFormat"></a>
    <strong>ImageFormat</strong>
    </dt>
    <dd>
    图片格式


    <h3>Fields:</h3>
    <ul>
        <li><span class="parameter">JPG</span>



        </li>
        <li><span class="parameter">PNG</span>



        </li>
        <li><span class="parameter">GIF</span>



        </li>
        <li><span class="parameter">TIFF</span>



        </li>
        <li><span class="parameter">WEBP</span>



        </li>
        <li><span class="parameter">ETC</span>



        </li>
        <li><span class="parameter">TGA</span>



        </li>
        <li><span class="parameter">RAW_DATA</span>



        </li>
        <li><span class="parameter">UNKOWN</span>



        </li>
    </ul>





</dd>
</dl>


</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
<i style="float:right;">Last updated 2017-04-05 16:38:47 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>
